
import User from './components/user.vue'
// import Home from './components/home.vue'
// import UserStart from './components/user/userStart.vue'
// import UserDetail from './components/user/userDetail.vue'
// import UserEdit from './components/user/userEdit.vue'
import Cate from './components/cate.vue'
import Home from './components/home.vue'
import Upload from './components/upload.vue'
import News from './components/news.vue'
import Comment from './components/comment.vue'
// import Header from './components/header.vue'


//静态路由表
export const routes =[
	{path:'/',component:Home},
	{path:'/user',component:User},
	{path:'/cate',component:Cate},
	{path:'/upload',component:Upload},
	{path:'/news',component:News,children:[
		{path:'comment/:id',component:Comment}
	]},
]